<div class="modal-content">
    <div class="modal-header">
        <button type="button" class="close">
            <em class="ion-ios-close-empty sn-link-close" ng-click="$dismiss()"></em>
        </button>
        <h4 class="modal-title">{{ lists.modelTitle }}</h4>
    </div>
    <div class="modal-body">
        <form id="form" class="form-horizontal bv-form" novalidate="novalidate">
            <!--<div class="form-group has-feedback">-->
            <!--<label class="control-label col-sm-2">选择用户:</label>-->
            <!--<div class="col-sm-10">-->
            <!--<select class="form-control" id="UserName" ng-model="user.id">-->
            <!--<option value="">请选择</option>-->
            <!--<option value="1">1</option>-->
            <!--<option value="2">2</option>-->
            <!--</select>-->
            <!--</div>-->
            <!--</div>-->
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span> 活动名称:
                </label>
                <div class="col-sm-10">
                    <input type="text" class="form-control col-xs-3 eventName" placeholder="请输入活动名称" ng-model="lists.EventName">
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span>活动地址:
                </label>
                <div class="col-sm-10">
                    <input type="text" class="form-control col-xs-3 eventName" placeholder="请输入活动地址" ng-model="lists.Address">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-2">经度:</label>
                <div class="col-sm-10">
                    <input  type="text" class="form-control col-xs-3" placeholder="请输入经度" ng-model="lists.Longitude">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-2">纬度:</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control col-xs-3" placeholder="请输入纬度" ng-model="lists.Latitude">
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2"><span class="stylecolorred">*</span> 开始时间:</label>
                <div class="col-sm-10">
                    <!--<div class="input-group date">
                        <div class="input-group-addon">
                            <i class="fa fa-calendar"></i>
                        </div>
                        <input class="form-control" date-time timezone="UTC" ng-model="lists.StartDate" view="date" min-view="date"  format="YYYY-MM-DD hh:mm" date-change="changeDate">
                    </div>-->
                    <div class="dropdown listStart-add c-date-pick-big">
                        <a class="dropdown-toggle" id="listStart-add" role="button" data-toggle="dropdown" data-target=".listStart-add" href="#">
                            <div class="input-group c-mb-n">
                                <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                <input type="text" class="form-control" data-ng-model="lists.StartTxt">
                            </div>
                        </a>
                        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                            <datetimepicker data-ng-model="lists.StartDate" data-on-set-time="onTimeSet.add_start(newDate, oldDate)" data-datetimepicker-config="{ dropdownSelector: '#listStart-add' }"/>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2"><span class="stylecolorred">*</span> 结束时间:</label>
                <div class="col-sm-10">
                    <div class="dropdown listEnd-add c-date-pick-big">
                        <a class="dropdown-toggle" id="listEnd-add" role="button" data-toggle="dropdown" data-target=".listEnd-add" href="#">
                            <div class="input-group c-mb-n">
                                <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                <input type="text" class="form-control" data-ng-model="lists.EndTxt">
                            </div>
                        </a>
                        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                            <datetimepicker data-ng-model="lists.EndDate" data-on-set-time="onTimeSet.add_end(newDate, oldDate)" data-datetimepicker-config="{ dropdownSelector: '#listEnd-add' }"/>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span> 活动人数:
                </label>
                <div class="col-sm-10">
                    <input type="text" class="form-control col-xs-3" placeholder="请输入活动人数" ng-model="lists.MemberCount">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span> 是否收费:
                </label>
                <div class="col-sm-10">
                    <label class="radio custom-radio c-fl">
                        <input type="radio" name="isChoice" ng-model="lists.ChargeType" ng-value=true>
                        <span>是 </span>
                    </label>
                    <label class="radio custom-radio c-fl">
                        <input type="radio" name="isChoice" ng-model="lists.ChargeType" ng-value=false>
                        <span> 否</span>
                    </label>
                </div>
            </div>
            <div class="form-group stylecolorred"  ng-show="lists.ChargeType">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span> 收费金额:
                </label>
                <div class="col-sm-10">
                    <input type="text" class="form-control col-xs-3" ng-model="lists.EventCost">
                </div>
            </div>
            <!--<div class="form-group has-feedback">
                <label class="control-label col-sm-2">活动简介:</label>
                <div class="col-sm-10">
                    <textarea class="form-control" name="summary" data-bv-field="summary" ng-model="lists.Summary"></textarea>
                    <i class="form-control-feedback" data-bv-icon-for="summary" style="display: none;"></i>
                </div>
            </div>-->
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2">活动详情:</label>
                <div class="col-sm-10">
                    <textarea class="form-control details" name="details" ng-model="lists.Details"></textarea>
                    <i class="form-control-feedback" data-bv-icon-for="details" style="display: none;"></i>
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2">活动简介:</label>
                <div class="col-sm-10">
                    <textarea class="form-control details" name="details" ng-model="lists.Summary"></textarea>
                    <i class="form-control-feedback" data-bv-icon-for="details" style="display: none;"></i>
                </div>
            </div>
            <!--<div class="form-group has-feedback">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span>封面图片
                </label>
                <div class="col-sm-10">
                    <select class="form-control coverImg">
                        <option value="">请选择</option>
                        <option value="1">上传图片</option>
                        <option value="2">设置首张</option>
                        <option value="3">删除图片</option>
                    </select>
                </div>
            </div>-->
            <!--<div class="form-group" id="privateGroup" style="display:none;">-->
            <!--<label class="control-label col-sm-1">选择私密的群组:</label>-->
            <!--<div class="col-sm-11 privateGroup">-->
            <!--</div>-->
            <!--</div>-->
            <div class="form-group isPublic">
                <label class="control-label col-sm-2">
                    是否公开:
                </label>
                <div class="col-sm-10">
                    <label class="radio custom-radio c-fl">
                        <input type="radio" name="IsPublic" ng-model="lists.IsPublic" ng-value=true>
                        <span>是 </span>
                    </label>
                    <label class="radio custom-radio c-fl">
                        <input type="radio" name="IsPublic" ng-model="lists.IsPublic" ng-value=false>
                        <span> 否</span>
                    </label>
                </div>
            </div>
            <div class="form-group has-feedback">
                <label class="control-label col-sm-2">
                    <span class="stylecolorred">*</span> 活动类型:
                </label>
                <div class="col-sm-10">
                    <select class="form-control" name="eventCategory" ng-model="lists.EventCategory" ng-options="item.nCategoryId as item.strCategoryName for item in activeType"></select>
                </div>
            </div>
        </form>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="$dismiss()">关闭</button>
        <button type="button" class="btn btn-danger" ng-click="lists.submitModel()">提交更改</button>
    </div>
</div>